#ifndef BOOKDIALOG_H
#define BOOKDIALOG_H

#include <QDialog>
#include <QSqlTableModel>

namespace Ui {
class BookDialog;
}

class BookDialog : public QDialog
{
    Q_OBJECT

public:
    explicit BookDialog(QWidget *parent = 0);
    ~BookDialog();

private slots:
    void on_pushButtonAdd_clicked();

    void on_pushButtonRemove_clicked();

    void on_pushButtonSearch_clicked();

    void on_pushButton_clicked();

    void on_pushButtonReturnAdminsystem_clicked();

private:
    Ui::BookDialog *ui;

    QSqlTableModel *model;

    int pageNum;
};

#endif // BOOKDIALOG_H
